<div class="information">
  <div class="content-title clear">
    <h2 class="text-title">信息收集器</h2>
    <a href="" class="icon-close1 fr heigh50" ng-click="closeInfor()"><i class="iconfont bigSize">&#xe608;</i></a>
  </div>
  <div class="inforContent MT20">
    <div ng-repeat="item in inforAmount[0].collectList track by $index">
      <div class="inforwrap MT20">
        <input type="text" class="MR20" placeholder="字段名称" ng-model="item.fieldName" maxlength="6">
        <my-select class="MR20" dataout="item.selectType" datain="{{item.textType}}"  defaultname="{{$parent.defaultName}}" defaultid="$parent.defaultPageSize">
          <input type="text" placeholder="文本框" class=" txt-normal selectNormal" readonly>
          <ul class="optionWrap">
            <my-option ng-repeat="v in item.textType" class="select-normal" value="v.id" text="{{v.value}}">{{v.value}}</my-option>
          </ul>
        </my-select>
        <my-select class="MR20" dataout="item.needCheck" datain="{{item.requiredType}}"  defaultname="{{$parent.defaultName}}" defaultid="$parent.defaultPageSize">
          <input type="text" placeholder="" class="txt-normal selectNormal" readonly>
          <ul class="optionWrap">
            <my-option ng-repeat="v in item.requiredType" class="select-normal" value="v.id" text="{{v.value}}">{{v.value}}</my-option>
          </ul>
        </my-select>
        <input type="text" class="ML20 checkVale" placeholder="多个选项值请用逗号隔开" ng-model="item.selectDetai" ng-show="item.selectType=='0'?false:true">
        <span class="fr MT8 cursor" ng-click="deleteInfor($index)">
          <img src="./res/img/deleteInfor.png" alt="">
        </span>
      </div>
    </div>
    <div class="inforwrap MT20">
      <span class="cursor" ng-click="addInforWrap()">
        <img src="./res/img/addInfor.png" alt="">
      </span>
    </div>
  </div>
  <div class="button btns">
    <div class="btnGroup1">
      <button class="btn btn-radius btn-lg  back" ng-click="showInforLayer=false">取消</button>
      <button class="btn btn-radius btn-lg btn-warning" ng-click="addInformation()">确认</button>
    </div>
  </div>
</div>


<style>

  .information{
    width: 786px;
    height: 540px;
    overflow: hidden;
  }
  .information a:hover{
    text-decoration: none;
  }
  .inforwrap input{
    width: 130px;
    height: 34px;
  }
  .checkVale{
    width: 240px !important;
  }
  .btns{
    margin-top: 20px !important;
  }
  .btnGroup1{
    text-align: center;
    width: auto;
    overflow: hidden;
    position: relative;
    left: 50%;
    transform: translateX(-50%)
  }
  .inforContent{
    height:360px;
    overflow: auto;
  }
  .MR20 input{
    background-image: url(./res/img/icon-down.png);
    background-position: right center;
    background-repeat: no-repeat;
  }
</style>